package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author mengyb
 * @since 2019-04-18
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("MMRS_T")
public class MmrsT extends PO<MmrsT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "MMRSENT", type = IdType.INPUT)
    private String MMRSENT;

    private String MMRS001;

    private String MMRS002;

    private String MMRS003;

    private String MMRS004;

    private String MMRS005;

    private String MMRS006;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate MMRS007;

    private BigDecimal MMRS008;

    private BigDecimal MMRS009;

    private String MMRS010;

    private BigDecimal MMRS011;

    private String MMRS012;

    private String MMRS050;

    private String MMRS051;

    private String MMRS052;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate MMRS053;

    private BigDecimal MMRS054;

    private String MMRSACTI;
    @TableField(fill = FieldFill.INSERT)
    private String MMRSUSER;
    @TableField(fill = FieldFill.INSERT)
    private String MMRSGRUP;
    @TableField(fill = FieldFill.UPDATE)
    private String MMRSMODU;
    @TableField(fill = FieldFill.INSERT)
    private String MMRSTIME;
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate MMRSDATE;
    @TableField(fill = FieldFill.INSERT)
    private String MMRSORIG;
    @TableField(fill = FieldFill.INSERT)
    private String MMRSORIU;



    @Override
    protected Serializable pkVal() {
        return this.MMRSENT;
    }

}
